<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>伪类选择器</title>
    <style>
        /*a:link {*/
        /*    color: #333;*/
        /*    text-decoration: none;*/
        /*}*/

        /*a:visited {*/
        /*    color: orange;*/
        /*}*/

        /*a:hover {*/
        /*    color: yellow*/
        /*}*/

        /*a:active {*/
        /*    color: red;*/
        /*}*/
        .new {
            color: #333;
            text-decoration: none;
        }
        
        .new:hover {
            color: skyblue;
            text-decoration: underline;
        }

        .new:active {
            color: red;
        }
    </style>
</head>
<body>
<a href="">百度</a>

<a href="" class="new">未知的链接</a>
</body>
</html>